import api from '@/api/index1.js'

const url = '/basic/'
// 设计器打印预览
export function BasicPrintPreviewListPost(data) {

  return api({
    url: url + 'printpreview/',
    method: 'post',
    data: data,
  })
}


// 设计器打印预览
export function BasicPrintDevPreviewListPost(data) {

  return api({
    url: url + 'printdevpreview/',
    method: 'post',
    data: data,
  })
}


export function BasicPrinterDeviceListGet() {

  return api({
    url: url + 'printerdevice/',
    method: 'get'
  })
}